
package com.thxrinfo.stop.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.thxrinfo.stop.api.entity.RegionLot;
import com.thxrinfo.stop.api.vo.RegionLotVO;
import com.thxrinfo.stop.mapper.RegionLotMapper;
import com.thxrinfo.stop.service.RegionLotService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 
 *
 * @author ct
 * @date 2023-02-01 11:12:20
 */
@Service
public class RegionLotServiceImpl extends ServiceImpl<RegionLotMapper, RegionLot> implements RegionLotService {

	@Autowired
	private RegionLotMapper regionLotMapper;

	@Override
	public IPage<RegionLotVO> getPage(Page page, RegionLot regionLot) {
		return regionLotMapper.getPage(page, regionLot);
	}

	@Override
	public RegionLotVO getOneById(Long id) {
		return regionLotMapper.getOneById(id);
	}
}
